/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * VistaCalculadora.java
 *
 * Created on 27/05/2011, 11:20:30 PM
 */

package calculahipoteca;

import javax.swing.JButton; 
import javax.swing.JFrame; 
import javax.swing.JLabel; 
import javax.swing.JPanel; 
import javax.swing.JSeparator; 
import javax.swing.JTextField;
import javax.swing.table.DefaultTableModel;
import javax.swing.DefaultListSelectionModel;

/**
 *
 * @author JesusMiAmigo
 */
public class VistaCalculadora extends javax.swing.JFrame {

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.995D72D9-8D5F-7573-12FC-D40F7525EB8F]
    // </editor-fold> 
    private CalculadoraHipoteca calculadoraHipoteca;

    /** Creates new form VistaCalculadora */
    
    private DefaultTableModel mdlCuotas;
    
    public VistaCalculadora() {
        initComponents();
        pnlCuota.setVisible(false);
        calculadoraHipoteca= new CalculadoraHipoteca();
        tblcuotas.setVisible(false);
        //pnlCuotas2.setVisible(false);
        this.tblcuotas.setSelectionMode(DefaultListSelectionModel.SINGLE_SELECTION);
        mdlCuotas = (DefaultTableModel) tblcuotas.getModel();
    }
    private void calcularCuotaMensual(){
     //paso el valor de las variables
     calculadoraHipoteca.setValorInmueble(Double.parseDouble(txtValorInmueble.getText()));
     calculadoraHipoteca.setValorInicial(Double.parseDouble(txtCuotaInicial.getText()));
     calculadoraHipoteca.setAniosPagar(Integer.parseInt(txtAniospagar.getText()));
     calculadoraHipoteca.setTasaInteres(Integer.parseInt(txtTasaInteres.getText()));
     calculadoraHipoteca.setJulio("N");
     if (chkJulio.isSelected()) {
     calculadoraHipoteca.setJulio("S");    
     }
     calculadoraHipoteca.setDiciembre("N");
     if (chkDiciembre.isSelected()) {
     calculadoraHipoteca.setDiciembre("S");  
     }
 
     //invoco a la funcion que calcula la cuota mensual
     double cuotaMensual= calculadoraHipoteca.calcularCuotaMensual();
     //lblCuotaMensual.setText(String.valueOf(calculadoraHipoteca.calcularCuotaMensual()));
     cuotaMensual= Math.round(cuotaMensual*Math.pow(10,3))/Math.pow(10,3);
     lblCuotaMensual.setText(String.valueOf(cuotaMensual));
    
    }


    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jSeparator1 = new javax.swing.JSeparator();
        jPanel2 = new javax.swing.JPanel();
        btnCalcular = new javax.swing.JButton();
        btnMostrarCuotas = new javax.swing.JButton();
        jPanel3 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        txtValorInmueble = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        txtCuotaInicial = new javax.swing.JTextField();
        jLabel4 = new javax.swing.JLabel();
        txtAniospagar = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        txtTasaInteres = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        chkDiciembre = new javax.swing.JCheckBox();
        chkJulio = new javax.swing.JCheckBox();
        pnlCuota = new javax.swing.JPanel();
        jLabel7 = new javax.swing.JLabel();
        lblCuotaMensual = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jScrollPane3 = new javax.swing.JScrollPane();
        tblcuotas = new javax.swing.JTable();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Calculadora Hipotecaria");
        setResizable(false);

        jLabel1.setBackground(new java.awt.Color(204, 204, 204));
        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 24));
        jLabel1.setForeground(new java.awt.Color(204, 0, 51));
        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setText("Calculadora Hipotecaria");

        btnCalcular.setBackground(new java.awt.Color(0, 204, 204));
        btnCalcular.setFont(new java.awt.Font("Tahoma", 1, 14));
        btnCalcular.setText("Calcular");
        btnCalcular.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCalcularActionPerformed(evt);
            }
        });

        btnMostrarCuotas.setFont(new java.awt.Font("Tahoma", 1, 12));
        btnMostrarCuotas.setText("Mostrar Cuotas");
        btnMostrarCuotas.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnMostrarCuotasActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                .addContainerGap(188, Short.MAX_VALUE)
                .addComponent(btnCalcular, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(104, 104, 104)
                .addComponent(btnMostrarCuotas)
                .addGap(44, 44, 44))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnMostrarCuotas)
                    .addComponent(btnCalcular, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel2Layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {btnCalcular, btnMostrarCuotas});

        jPanel3.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

        jLabel2.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel2.setText("Valor del Inmueble : ");

        txtValorInmueble.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtValorInmueble.setText("0.00");
        txtValorInmueble.setName("txtValorInmueble"); // NOI18N

        jLabel3.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel3.setText("Cuota Inicial             : ");

        txtCuotaInicial.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtCuotaInicial.setText("0.00");
        txtCuotaInicial.setName("txtCuotaInicial"); // NOI18N

        jLabel4.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel4.setText("Años para pagar     : ");

        txtAniospagar.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtAniospagar.setText("0");
        txtAniospagar.setName("txtAniosPagar"); // NOI18N

        jLabel5.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel5.setText("Tasa de Interès      : ");

        txtTasaInteres.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtTasaInteres.setText("0.00");
        txtTasaInteres.setName("txtTasaInteres"); // NOI18N

        jLabel8.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel8.setText("US$");

        jLabel9.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel9.setText("US$");

        jLabel6.setFont(new java.awt.Font("Tahoma", 1, 11));
        jLabel6.setText("%");

        chkDiciembre.setFont(new java.awt.Font("Tahoma", 1, 11));
        chkDiciembre.setText("Diciembre");

        chkJulio.setText("Julio");

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel2)
                            .addComponent(jLabel3)
                            .addComponent(jLabel4)
                            .addComponent(jLabel5))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 55, Short.MAX_VALUE))
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(chkJulio)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)))
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(chkDiciembre)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(txtCuotaInicial)
                            .addComponent(txtValorInmueble, javax.swing.GroupLayout.DEFAULT_SIZE, 113, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel9)
                            .addComponent(jLabel8)))
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(txtTasaInteres, javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(txtAniospagar, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 51, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel6)))
                .addContainerGap(254, Short.MAX_VALUE))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(txtValorInmueble, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel8))
                .addGap(18, 18, 18)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(txtCuotaInicial, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel9))
                .addGap(18, 18, 18)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel4)
                    .addComponent(txtAniospagar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(txtTasaInteres, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel6))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 30, Short.MAX_VALUE)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(chkDiciembre)
                    .addComponent(chkJulio))
                .addGap(20, 20, 20))
        );

        txtValorInmueble.getAccessibleContext().setAccessibleName("txtValorInmueble");

        pnlCuota.setBackground(new java.awt.Color(0, 153, 153));
        pnlCuota.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        pnlCuota.setMaximumSize(new java.awt.Dimension(20000, 32767));
        pnlCuota.setName("pnlCuota"); // NOI18N

        jLabel7.setFont(new java.awt.Font("Tahoma", 1, 18));
        jLabel7.setText("Cuota Mensual             : ");

        lblCuotaMensual.setFont(new java.awt.Font("Tahoma", 1, 18));
        lblCuotaMensual.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lblCuotaMensual.setText("0.00");
        lblCuotaMensual.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        jLabel10.setFont(new java.awt.Font("Tahoma", 1, 14));
        jLabel10.setText("US$");

        javax.swing.GroupLayout pnlCuotaLayout = new javax.swing.GroupLayout(pnlCuota);
        pnlCuota.setLayout(pnlCuotaLayout);
        pnlCuotaLayout.setHorizontalGroup(
            pnlCuotaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlCuotaLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel7)
                .addGap(18, 18, 18)
                .addComponent(lblCuotaMensual, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel10)
                .addContainerGap(202, Short.MAX_VALUE))
        );
        pnlCuotaLayout.setVerticalGroup(
            pnlCuotaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlCuotaLayout.createSequentialGroup()
                .addGap(29, 29, 29)
                .addGroup(pnlCuotaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pnlCuotaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel7)
                        .addComponent(lblCuotaMensual)))
                .addContainerGap(29, Short.MAX_VALUE))
        );

        tblcuotas.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Nro. cuota", "Capital", "Interes", "Cuota Mensual"
            }
        ));
        tblcuotas.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane3.setViewportView(tblcuotas);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel1))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 593, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(pnlCuota, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                .addContainerGap()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(10, 10, 10)
                                        .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 573, Short.MAX_VALUE))
                                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                        .addGap(1033, 1033, 1033)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addGap(8, 8, 8)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pnlCuota, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(26, 26, 26))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnMostrarCuotasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnMostrarCuotasActionPerformed
        // TODO add your handling code here:
        //pnlCuotas2.setVisible(true);
        MostrarCuotas();
        this.tblcuotas.setEnabled(true);
       
}//GEN-LAST:event_btnMostrarCuotasActionPerformed

    private void btnCalcularActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCalcularActionPerformed
        calcularCuotaMensual();
        pnlCuota.setVisible(true);
    }//GEN-LAST:event_btnCalcularActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        
    }
public void MostrarCuotas() {
    
       int cantidadMeses = Integer.parseInt(txtAniospagar.getText()) * 12;
       if (chkJulio.isSelected()) {
         cantidadMeses ++;
         }
         if (chkDiciembre.isSelected()) {
         cantidadMeses ++;
         }

       double ValorInmueble =  Double.parseDouble(txtValorInmueble.getText());
       ValorInmueble= Math.round(ValorInmueble*Math.pow(10,3))/Math.pow(10,3);

       double CuotaInicial = Double.parseDouble(txtCuotaInicial.getText());

       double TasaInteres = Double.parseDouble(txtTasaInteres.getText());

       double Capital = (ValorInmueble - CuotaInicial) / cantidadMeses;
       Capital= Math.round(Capital*Math.pow(10,3))/Math.pow(10,3);

       double Interes = ((ValorInmueble - CuotaInicial) * (TasaInteres / 100)) /cantidadMeses;
       Interes= Math.round(Interes*Math.pow(10,3))/Math.pow(10,3);

       double cuotaMensual = Double.parseDouble(lblCuotaMensual.getText());
       cuotaMensual= Math.round(cuotaMensual*Math.pow(10,3))/Math.pow(10,3);

       mdlCuotas.setRowCount(cantidadMeses);

       for(int i = 0; i < cantidadMeses; i ++){
           mdlCuotas.setValueAt("Cuota " + (i + 1) , i, 0);
           mdlCuotas.setValueAt(Capital , i, 1);
           mdlCuotas.setValueAt(Interes , i, 2);
           mdlCuotas.setValueAt(cuotaMensual , i, 3);}

       tblcuotas.setEnabled(true);
       tblcuotas.setFocusable(true);

        }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnCalcular;
    private javax.swing.JButton btnMostrarCuotas;
    private javax.swing.JCheckBox chkDiciembre;
    private javax.swing.JCheckBox chkJulio;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JLabel lblCuotaMensual;
    private javax.swing.JPanel pnlCuota;
    private javax.swing.JTable tblcuotas;
    private javax.swing.JTextField txtAniospagar;
    private javax.swing.JTextField txtCuotaInicial;
    private javax.swing.JTextField txtTasaInteres;
    private javax.swing.JTextField txtValorInmueble;
    // End of variables declaration//GEN-END:variables

}
